#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<string>
using std::cout;
using std::cin;

#include"vector.hpp"
#include"list.hpp"

using namespace wcz;

int main() 
{
	vector<int>v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);
	v.push_back(6);
	for(vector<int>::reverse_iterator it=v.rbegin();it!=v.rend();++it)
	{
		cout << *it << " ";
	}
	cout << std::endl;

	list<int> l;
	l.push_back(10);
	l.push_back(30);
	l.push_back(50);
	l.push_back(70);
	l.push_back(90);
	l.push_back(110);
	l.push_back(130);

	for (list<int>::reverse_iterator it = l.rbegin(); it != l.rend(); ++it)
	{
		cout << *it << " ";
	}
	cout << std::endl;
	return 0;;
}